package com.lill.workflow.dao;

import com.lill.common.component.dao.IBaseDao;
import com.lill.workflow.model.PsApproveVo;
import com.lill.workflow.model.WorkflowStepHistoryModel;

import java.util.List;
import java.util.Map;

/**
 * Dao
 *
 * @author lill
 * @date 2019-05-26 12:05:20
 */
public interface IWorkflowStepHistoryDao extends IBaseDao<WorkflowStepHistoryModel> {

    List<WorkflowStepHistoryModel> queryListByNumber(Map<String, Object> hashMap);

    /**
     * 获取最新的审核信息
     * @param param
     * @return
     */
    WorkflowStepHistoryModel queryLastOne(Map<String, Object> param);

    /**
     * 根据编号查询已审核的人和未审核的人
     * @param param
     * @return
     */
    List<PsApproveVo> queryApprove(Map<String, Object> param);
}
